<?php

namespace Home\Model\Ajax;

class CatList extends AbstractAjax
{
    // 分类列表
    public function handle()
    {
        $type = I('request.type', '1', 'intval');
        $this->assign('type', $type);
        $html = $this->fetch('Ajax/ajax_cat_list');
        $ajax['status'] = 1;
        $ajax['content'] = $html;
        return $ajax;
    }

}